The main directory contains 13 files:

Files 1-2 are R scripts that open, skim, and save a .dta file for the 2000-2004 Merged File and the 2012 ANES.

Files 3-6 are .do files that code the data, estimate models, and estimate predicted values for the figures. There is one .do file for each dataset. 

File 7 is an R script that creates the figures.

The remaining files .dta files used for the analyses. Files 1-2 will create two new .dta files.

The directory "Predicted values" contains the .csv and .dta files to create the figures.
